from tortoise import BaseDBAsyncClient


async def upgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `vver_code` ADD `code` VARCHAR(12) NOT NULL COMMENT '验证码';"""


async def downgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `vver_code` DROP COLUMN `code`;"""
